<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <title> {% block title %}{% endblock %}-{{base.setting.webtitle|uw}}</title>
    <meta name="keywords" content="{{base.setting.webkey|uw}}" />
    <meta name="description" content="{{base.setting.webdesc|uw}}" />
    <link rel="shortcut icon" href="/assets/favicon.ico" type="image/x-icon" />
    <link href="/assets/style.css" rel="stylesheet" type="text/css" />
    {% block css %}{% endblock %}
</head>

<body>
    <div id="wrap">
        {% include "header.html" %}
        <div id="content" style="position: relative;">
            <div id="main" {%if base.setting.widget|uw == 0 %}style="width: 100% !important;float: none:  !important;"{%endif%}>
            {% block content %}<p>内容加载中</p>{% endblock %}
            </div>

            {%if base.setting.widget|uw == 1 %}
                {% include "right.html" %}
            {%endif%}
        </div>
    </div>
    {% include "footer.html" %}
    <script type="text/javascript" language="javascript" src="/assets/js/jquery.min.js"></script>
    <script type="text/javascript" language="javascript" src="/assets/js/fixed-sidebar.js"></script>
    <script type="text/javascript" language="javascript" src="/assets/js/ajax.js"></script>
    {% block script %}{% endblock %}
</body>

</html>

